package com.platform_server.mapper;

import com.platform_server.entity.db.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Author：Kevin.W.Liu
 * @Date: 2022/3/12
 * @Version 1.0
 */
//@Repository
//@Mapper
public interface AdminMapper {
    @Select("select * from t_admin where name = #{username}")
    Admin selectActiveAdminByName(String username);
}
